package net.ericaro.neojavagen.blocks;

/**
 * <b>LocalVariableDeclarationStatement</b> ::= <{@link net .ericaro .neojavagen .blocks .LocalVariableDeclaration LocalVariableDeclaration}> ";"
 * 
 * @author eric@ericaro.net
 */
public class LocalVariableDeclarationStatement extends net.ericaro.neojavagen.JavaPartComposition implements net.ericaro.neojavagen.blocks.BlockStatement {
	private net.ericaro.neojavagen.blocks.LocalVariableDeclaration localVariableDeclaration;

	public LocalVariableDeclarationStatement(net.ericaro.neojavagen.blocks.LocalVariableDeclaration localVariableDeclaration) {
		super();
		this.localVariableDeclaration = localVariableDeclaration;
	}

	public net.ericaro.neojavagen.blocks.LocalVariableDeclaration getLocalVariableDeclaration() {
		return localVariableDeclaration;
	}

	public void setLocalVariableDeclaration(net.ericaro.neojavagen.blocks.LocalVariableDeclaration localVariableDeclaration) {
		this.localVariableDeclaration = localVariableDeclaration;
	}

	@Override
	public java.lang.String toString() {
		return print(localVariableDeclaration, ";");
	}
}
